package com.ridu.project.beshid.entity;

import lombok.*;

import javax.persistence.*;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Entity
@Table(name = "jifen_admin_stream", catalog = "besh_id_edu")
public class JifenAdminStreamEntity extends BaseEntity {

    @Basic
    @Column(name = "jifen",columnDefinition = "varchar(20) COMMENT '积分'")
    private String jifen;

    @Basic
    @Column(name = "category",columnDefinition = "varchar(20) COMMENT '积分种类'")
    private String category;

    @ManyToOne
    @JoinColumn(name = "user_id")
    private UserEntity owner;

}
